package IT01;

public class AnimalDemo {
    public static void main(String[] args) {
        Animal c = new Cat("加菲",20);
        System.out.println(c.getName()+","+c.getAge());
        c.eat();
        ((Cat) c).jump();
    }
}
